package com.bub.pay.core.entity.domain;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 用户锁定记录表 
 */
@Data
@Table(name = "user_lock_record")
public class UserLockRecord {
	@Id
	@KeySql(useGeneratedKeys = true)
	private Long id;
	/** 用户id*/
	private Long userId;
	/** 锁定类型 1.登陆密码错误， 2.支付密码错误锁定 3.谷歌验证码错误锁定 4.其他原因锁定*/
	private Integer lockType;
	/** 锁定备注*/
	private String lockRemark;
	/** 锁定时间*/
	private Date lockTime;
	/** 锁定操作人*/
	private Long lockUser;
	/** 解锁时间*/
	private Date unlockTime;
	/** 解锁操作人*/
	private Long unlockUser;
	/** 解锁备注*/
	private String unlockRemark;


}
